const mysql = require('mysql');
const co = require('co-mysql');

let conn = mysql.createPool({
    host: '127.0.0.1',
    user: 'root',
    database: 'server_demo',
    password: 'Lifei%*%*528',
    port: 3306
});

module.exports = co(conn);